package com.zhouyu.exampledesignmoudle.decorator;

/**
 * @Description:
 */
public class DecoraTest {
    public void test() {
        Monkey monkey = new Monkey();
        monkey.display();

        ChangeBird changeBird = new ChangeBird(monkey);
        changeBird.display();


        ChangeFish changeFish = new ChangeFish(monkey);
        changeFish.display();
    }
}
